package com.yrot.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hemin
 * @since 2019-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysExpert implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 专家id
     */
    @TableId(value = "expert_id", type = IdType.AUTO)
    private Integer expertId;

    /**
     * 姓名
     */
    private String expertName;

    /**
     * 手机号
     */
    private String expertPhone;

    /**
     * 性别0男1女
     */
    private Integer expertSex;

    /**
     * 邮箱
     */
    private String expertEmail;

    /**
     * 用户名
     */
    private String expertUsername;

    /**
     * 密码
     */
    private String expertPassword;

    /**
     *
     */
    private String roleName;

    /**
     * 最后登录时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
